<template>
  <div class="canvas-bg" id="canvas-bg"></div>
</template>

<script>
import { Particle } from 'jparticles'
export default {
  mounted() {
    new Particle('#canvas-bg', {})
    // new JParticles.Snow('#anvas-bg')
  }
}
</script>
<style lang="scss">
.canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
</style>